All Questions
2 questions
0votes
3answers
838views
Trying to read XML attributes from multiple files and replacing them with a number 1.25 times greater than they were before
I am trying to write a bash script or something similar, that I can use to modify all occurrences in a bunch of xml files with one click. I have 24 xml files, each containing a few dozen lines and ...
1vote
5answers
9kviews
Replace an XML attribute's value with the value of a shell variable
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE POWERMART SYSTEM "powrmart.dtd"> <POWERMART CREATION_DATE="12/01/2016 17:43:15" REPOSITORY_VERSION="184.93"> <REPOSITORY NAME="...